package com.hk.kindheartedness.model;

import java.util.Date;

/**
 * @Author：alpha
 * @Create：2022/2/28/21:15
 * @Description：病历
 * @Version：1.0
 */
public class CaseHistory {

    /**
     * ID 唯一 （默认自增）
     */
    private Integer id;

    /**
     * 姓名
     */
    private String username;

    /**
     * 患者编号
     */
    private Integer userNumber;

    /**
     * 性别
     */
    private String sex;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 科室
     */
    private Integer departmentsName;

    /**
     * 主诉
     */
    private String mainSuit;

    /**
     * 现病史
     */
    private String phi;

    /**
     * 既往史
     */
    private String previousHistory;

    /**
     * 药物过敏史
     */
    private String drugAllergyHistory;

    /**
     * 个人及家族史
     */
    private String personalAndFamilyHistory;

    /**
     * 体格检查
     */
    private String healthCheckup;

    /**
     * 辅助检查
     */
    private String auxiliaryExamination;

    /**
     * 初步诊断
     */
    private String tentativeDiagnosis;

    /**
     * 患者ID
     */
    private Integer userId;

    /**
     * 医生ID
     */
    private Integer doctorId;

    /**
     * 就诊挂号记录Id
     */
    private Integer registrationLogId;

    /**
     * 患者签字
     */
    private String patientName;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(Integer userNumber) {
        this.userNumber = userNumber;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getMainSuit() {
        return mainSuit;
    }

    public void setMainSuit(String mainSuit) {
        this.mainSuit = mainSuit;
    }

    public String getPhi() {
        return phi;
    }

    public void setPhi(String phi) {
        this.phi = phi;
    }

    public String getPreviousHistory() {
        return previousHistory;
    }

    public void setPreviousHistory(String previousHistory) {
        this.previousHistory = previousHistory;
    }

    public String getDrugAllergyHistory() {
        return drugAllergyHistory;
    }

    public void setDrugAllergyHistory(String drugAllergyHistory) {
        this.drugAllergyHistory = drugAllergyHistory;
    }

    public String getPersonalAndFamilyHistory() {
        return personalAndFamilyHistory;
    }

    public void setPersonalAndFamilyHistory(String personalAndFamilyHistory) {
        this.personalAndFamilyHistory = personalAndFamilyHistory;
    }

    public String getHealthCheckup() {
        return healthCheckup;
    }

    public void setHealthCheckup(String healthCheckup) {
        this.healthCheckup = healthCheckup;
    }

    public String getAuxiliaryExamination() {
        return auxiliaryExamination;
    }

    public void setAuxiliaryExamination(String auxiliaryExamination) {
        this.auxiliaryExamination = auxiliaryExamination;
    }

    public String getTentativeDiagnosis() {
        return tentativeDiagnosis;
    }

    public void setTentativeDiagnosis(String tentativeDiagnosis) {
        this.tentativeDiagnosis = tentativeDiagnosis;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getRegistrationLogId() {
        return registrationLogId;
    }

    public void setRegistrationLogId(Integer registrationLogId) {
        this.registrationLogId = registrationLogId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public CaseHistory() {
        super();
    }

    public Integer getDepartmentsName() {
        return departmentsName;
    }

    public void setDepartmentsName(Integer departmentsName) {
        this.departmentsName = departmentsName;
    }

    public CaseHistory(Integer id, String username, Integer userNumber, String sex, Integer age, Integer departmentsName, String mainSuit, String phi, String previousHistory, String drugAllergyHistory, String personalAndFamilyHistory, String healthCheckup, String auxiliaryExamination, String tentativeDiagnosis, Integer userId, Integer doctorId, Integer registrationLogId, String patientName, Date createTime, Date updateTime) {
        this.id = id;
        this.username = username;
        this.userNumber = userNumber;
        this.sex = sex;
        this.age = age;
        this.departmentsName = departmentsName;
        this.mainSuit = mainSuit;
        this.phi = phi;
        this.previousHistory = previousHistory;
        this.drugAllergyHistory = drugAllergyHistory;
        this.personalAndFamilyHistory = personalAndFamilyHistory;
        this.healthCheckup = healthCheckup;
        this.auxiliaryExamination = auxiliaryExamination;
        this.tentativeDiagnosis = tentativeDiagnosis;
        this.userId = userId;
        this.doctorId = doctorId;
        this.registrationLogId = registrationLogId;
        this.patientName = patientName;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CaseHistory{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", userNumber=" + userNumber +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", departmentsName=" + departmentsName +
                ", mainSuit='" + mainSuit + '\'' +
                ", phi='" + phi + '\'' +
                ", previousHistory='" + previousHistory + '\'' +
                ", drugAllergyHistory='" + drugAllergyHistory + '\'' +
                ", personalAndFamilyHistory='" + personalAndFamilyHistory + '\'' +
                ", healthCheckup='" + healthCheckup + '\'' +
                ", auxiliaryExamination='" + auxiliaryExamination + '\'' +
                ", tentativeDiagnosis='" + tentativeDiagnosis + '\'' +
                ", userId=" + userId +
                ", doctorId=" + doctorId +
                ", registrationLogId=" + registrationLogId +
                ", patientName='" + patientName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
